package org.rambadger.command.command;

import org.axonframework.commandhandling.annotation.TargetAggregateIdentifier;
import org.rambadger.command.validation.UrlIdentifier;

import javax.validation.constraints.NotNull;

public class DeleteTrack {
    @TargetAggregateIdentifier
    private final String platformId;
    private final String trackId;

    public DeleteTrack(String platformId, String trackId) {
        this.platformId = platformId;
        this.trackId = trackId;
    }


    @UrlIdentifier @NotNull
    public String getPlatformId() {
        return platformId;
    }

    @UrlIdentifier @NotNull
    public String getTrackId() {
        return trackId;
    }
}
